<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="/imgUpload" method="post" ENCTYPE="multipart/form-data">
    <div class="form" >
           
            <p>
                <span class="req"><input type="file"  name="uploadFile" class="field size4" title="Choose the file" /></span>
                <label>Upload file: <span>(click browse to choose)</span></label>
            </p>
            <p>
                <span class="req"><input type="file"  name="uploadFile" class="field size4" title="Choose the file" /></span>
                <label>Upload file: <span>(click browse to choose)</span></label>
            </p>
            <c:forEach var="img" items="${imgs }">
            <img alt="" src="${img}">
            </c:forEach>
    </div>
    <div class="buttons">
        <input id="queryBtn" type="Submit" class="button" value="Submit" />
    </div>
    
    </form>




</html>